<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script>var SITEURL='';</script>
<title>操作提示</title>
<?php $this->HeaderView();?>
</head>
<body>
<script language="javascript">
function redirect(url, top_href) {
	if (top_href == '1'){
		window.top.location.href = url;
	}else{
		location.href = url;
	}
}
</script> 

<table class="return-jump" border="0" cellspacing="0" cellpadding="0" width="" align="center">
    <thead>
        
        
        <tr>
            
            
          <th class="jump-title<?php echo isset($data['error']) && $data['error'] ? ' icon-no' : ' icon-yes'?>">操作提示：<br>
		  <b><?php echo isset($data['title']) ? $data['title'] : '操作成功！';?></b></th>
        </tr>
    </thead>
    <tbody>
   <tr>       
        <td class="jump-content icon-yes">
		<p><?php echo isset($data['content']) ? $data['content'] : '请不要关闭页面，正在为您跳转...';?></p></td>
   </tr>

  
        </tbody>
    
</table>

<script style="text/javascript">
	function close_dialog(id) {
		window.top.right.location.reload();
		window.top.art.dialog({id: id}).close();
	}
	
<?php
$data['timeout'] = isset($data['timeout']) ? $data['timeout'] : 1500;
$top_href = isset($data['top_href']) ? 1 : 0;
if (isset($data['backurl'])){
	echo 'setTimeout("redirect(\''.$data['backurl'].'\', '.$top_href.')",'.$data['timeout'].');';
}

if (isset($data['artid'])){
?>
    setTimeout(function(){
        close_dialog('<?php echo $data['artid'];?>');
	},<?php echo $data['timeout']?>);
	
<?php
}
?>
</script>
</body>
</html>